home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / cron.z / cron
Encoding:
Text File  |  2002-10-03  |  5.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ccccrrrroooonnnn((((1111MMMM))))                                                              ccccrrrroooonnnn((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cron - clock daemon
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ccccrrrroooonnnn [ ----jjjj _j_o_b_s ] [ nnnnooooffffoooorrrrkkkk ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _c_r_o_n executes commands at specified dates and times.  Regularly scheduled
  16.      commands can be specified according to instructions found in _c_r_o_n_t_a_b
  17.      files in the directory /_v_a_r/_s_p_o_o_l/_c_r_o_n/_c_r_o_n_t_a_b_s.  Users can submit their
  18.      own _c_r_o_n_t_a_b file via the _c_r_o_n_t_a_b(1) command.  Commands that are to be
  19.      executed only once can be submitted using the _a_t(1) command.
  20.  
  21.      The following options are supported:
  22.  
  23.      ----jjjj _j_o_b_s   Specify the maximum number of jobs (MAXRUN) that _c_r_o_n can
  24.                simultaneously run.  The default value is 25.  The maximum
  25.                allowed value is 250.
  26.  
  27.      nnnnooooffffoooorrrrkkkk    If this option is supplied, _c_r_o_n runs in the foreground.
  28.  
  29.      _c_r_o_n examines _c_r_o_n_t_a_b files and _a_t command files only during process
  30.      initialization and when a file changes via _c_r_o_n_t_a_b or _a_t.  This reduces
  31.      the overhead of checking for new or changed files at regularly scheduled
  32.      intervals.
  33.  
  34.      Since _c_r_o_n never exits, it should be executed only once.  This is done
  35.      routinely through /_e_t_c/_r_c_2._d/_S_7_5_c_r_o_n at system boot time.
  36.      /_e_t_c/_c_r_o_n._d/_F_I_F_O is used as a lock file to prevent the execution of more
  37.      than one _c_r_o_n and is also used by the _c_r_o_n_t_a_b command for notification of
  38.      changes to the _c_r_o_n_t_a_b files.
  39.  
  40.      If MAXRUN jobs are running and another is scheduled, _c_r_o_n does not run
  41.      the new job.  A message is logged via _s_y_s_l_o_g(3C).
  42.  
  43.      _c_r_o_n attempts to handle changes to the system date correctly, either
  44.      forward or backward.  There may be some delay for jobs scheduled during
  45.      the interval on large forward-time changes.
  46.  
  47.      For each job launched, cron reads in configuration information from
  48.      /_e_t_c/_d_e_f_a_u_l_t/_c_r_o_n. Currently the only option supported is the
  49.      SVR4_SIGNALS option, which may be set to `YES' or `NO' (it defaults to
  50.      NO).  Setting SVR4_SIGNALS to `YES' will result in processes forked with
  51.      the SIGXFSZ and SIGXCPU signals ignored.  For CPU and filesize resource
  52.      limiting to work correctly, SVR4_SIGNALS should be set to `NO', so that
  53.      these signal retain their default behaviour, which is to terminate the
  54.      process.
  55.  
  56.      If the file ////eeeettttcccc////ccccrrrroooonnnn....dddd////ccccrrrroooonnnn....aaaalllllllloooowwww exists, only users whose names appear
  57.      in the file are permitted to use _c_r_o_n_t_a_b. This restriction applies to all
  58.      users, including root.  If that file does not exist, the file
  59.      ////eeeettttcccc////ccccrrrroooonnnn....dddd////ccccrrrroooonnnn....ddddeeeennnnyyyy is checked to determine if the user should be
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccrrrroooonnnn((((1111MMMM))))                                                              ccccrrrroooonnnn((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      denied access to _c_r_o_n_t_a_b. If neither file exists, only root is allowed to
  75.      submit a job. If ccccrrrroooonnnn....aaaalllllllloooowwww does not exist and ccccrrrroooonnnn....ddddeeeennnnyyyy exists but is
  76.      empty, global usage is permitted.  The allow/deny files consist of one
  77.      user name per line.
  78.  
  79. FFFFIIIILLLLEEEESSSS
  80.      /etc/cron.d                main cron directory
  81.      /etc/cron.d/FIFO           used as a lock file against multiple copies
  82.                                 running and also for notification of new or
  83.                                 changed _c_r_o_n_t_a_b files
  84.      /etc/cron.d/cron.allow     only users whose names appear in the file are
  85.                                 permitted to use _c_r_o_n_t_a_b.
  86.      /etc/cron.d/cron.deny      only users whose names appear in the file are
  87.                                 denied access to _c_r_o_n_t_a_b.
  88.      /var/cron/log              accounting information
  89.      /var/spool/cron            spool area
  90.      /etc/config/cron.options   site-dependent options /etc/default/cron
  91.                                 default behaviour configuration file
  92.  
  93. SSSSIIIIGGGGNNNNAAAALLLLSSSS
  94.      A SIGHUP signal can be sent to _c_r_o_n to cause it to reexamine all the
  95.      _c_r_o_n_t_a_b and configuration files.  A message is logged for this event.
  96.      The SIGTERM signal should be used to shut _c_r_o_n down cleanly.
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      at(1), crontab(1), sh(1).
  100.  
  101. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  102.      A history of all actions taken by _c_r_o_n is recorded in /_v_a_r/_c_r_o_n/_l_o_g.
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.